from .bigone.bigone import BigoneRESTAPI
from .bitfinex.bitfinex import BitfinexRESTAPI
from .binance.binance import BinanceRESTAPI
from .huobi.huobi import HuobiRESTAPI
from .hitbtc.hitbtc import HitbtcRESTAPI
from .poloniex.poloniex import PoloniexRESTAPI
from .qryptos.qryptos import QryptosRESTAPI
from .quoine.quoine import QuoineRESTAPI
from .bitstamp.bitstamp import BitstampRESTAPI
from .bittrex.bittrex import BittrexRESTAPI
from .key import API_KEY, SECRET_KEY, DEBUG


class RestAPIFactory(object):
    """docstring for PlatformRESTAPIFactory"""

    def get_platform(self, platform):
        return globals()[platform.capitalize() + 'RESTAPI'](API_KEY[platform], SECRET_KEY[platform], DEBUG)
